function [ counts ] = getCounts( subpops, headers )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
counts = zeros(size(subpops, 1), 1);
for i = 1:size(subpops, 1)
   for j = 1:size(headers, 1)
       if (size(findstr(headers{j}, subpops{i})) ~= 0)
           counts(i, 1) = counts(i, 1) + 1;
       end
   end
end

end

